package com.b2b.model.entity;

import lombok.Data;
import org.springframework.stereotype.Component;

import javax.persistence.Column;
import javax.persistence.Table;

@Data
@Component
@Table(name = "masterorder_goods")
public class MasterOrderGoods {
    @Column(name = "master_order_id")
    private Integer masterOrderId;
    @Column(name = "stock_id")
    private Integer stockId;
    @Column
    private Double price;
    @Column
    private Integer number;
    @Column
    private Integer floor;
    @Column(name = "toplimit")
    private Integer topLimit;

    @Column(name = "completed_number")
    private Integer completedNumber;
}
